.TH E1432_SET_SUMBUS 3 E1432
.SH NAME
.nf
e1432_set_sumbus \- Set driver for the VXI SUMBUS line
e1432_get_sumbus \- Get current value of VXI SUMBUS driver
.fi
.IX e1432_set_sumbus(3) 3
.IX e1432_get_sumbus(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_set_sumbus(E1432ID hw, SHORTSIZ16 ID,
                            SHORTSIZ16 sumbus)
SHORTSIZ16 e1432_get_sumbus(E1432ID hw, SHORTSIZ16 ID,
                            SHORTSIZ16 *sumbus)
.cE
.SH DESCRIPTION
\fIe1432_set_sumbus\fR sets the driver for the VXI SUMBUS line, for
a single channel or group of channels \fIID\fR, to the value given in
\fIsumbus\fR.

\fIe1432_get_sumbus\fR returns the current setting of the VXI SUMBUS
driver, of a single channel or group of channels \fIID\fR, into a
memory location pointed to by \fIsumbus\fR.

This parameter is a "global" parameter.  It applies to an entire E1432
module rather than to one of its channels.  The \fIID\fR parameter is
used only to identify which module the function applies to, and all
channels in that module will report the same value for this parameter.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is either the ID of a group of channels that was obtained with a
call to \fIe1432_create_channel_group\fR, or the ID of a single channel.

\fIsumbus\fR determines the driver for the SUMBUS line.  This should
be one of:

\fBE1432_SUMBUS_OFF\fR, to have nothing drive the line.

\fBE1432_SUMBUS_CALOUT\fR, to connect the internal CALOUT line to the
SUMBUS.  The CALOUT line can be driven by the optional internal source
board.
.SH "RESET VALUE"
After a reset, \fIsumbus\fR is set to \fBE1432_SUMBUS_OFF\fR.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_set_calin, e1432_set_cal_voltage, e1432_set_source_output
.ad
